home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 1871 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  989 b 

  1. Path: familynews.cycor.ca!usenet
  2. From: gcaine@cycor.ca (gcaine)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: More
  5. Date: 24 Jan 1996 15:27:22 GMT
  6. Organization: Cycor Communications Inc., Coast to Coast Internet Services
  7. Message-ID: <593.6596T663T358@cycor.ca>
  8. References: <9601201749.AA00046@cliffe.demon.co.uk>
  9. NNTP-Posting-Host: skt-as011.cycor.ca
  10. X-Newsreader: THOR 2.22 (Amiga;TCP/IP)
  11.  
  12.  
  13. >Thanks for the last lot of help but i am looking for something like this
  14. >but when i try too compile it i get 
  15.  
  16. >SAS/C Amiga Compiler 6.56
  17. >Copyright (c) 1988-1995 SAS Institute Inc.
  18.  
  19. >====================
  20. >        if(!(fh = fopen("T:xx", "w")))
  21. >Work-1:Steve1.c 41 Warning 225: pointer type mismatch
  22. >                                "BPTR" does not match "struct __iobuf *"
  23.  
  24. >int main(int argc, char **argv)
  25. >{
  26. > struct WBArg      *wbarg;
  27. > struct DiskObject *dobj;
  28. > UBYTE             **tools,*textp;
  29. > BPTR             fh;
  30.  ^^^^
  31.  Shouldn't that be FILE?
  32.  
  33. Gary Caine    Member: Team AMIGA
  34.  
  35.